-
Home
-
WP 2FA – Two-factor authentication for WordPress
-
1.6.0
-
Code
-
Classes
- WP2FA
Total Complexity |
171 |
Dependencies |
17 |
Dependents |
15 |
Total lines |
945 |
Lines of code |
614 |
Logical lines of code |
376 |
Comment lines |
191 |
Methods |
17 |
Properties |
6 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
isUserEnforced() |
D |
27 |
47 |
131 |
is_user_excluded() |
C |
35 |
30 |
84 |
block_unconfigured_users_from_admin() |
B |
45 |
19 |
36 |
add_actions() |
A |
39 |
11 |
60 |
handle_send_test_email_ajax() |
A |
45 |
12 |
39 |
get_wp2fa_email_templates() |
A |
38 |
10 |
68 |
get_wp2fa_setting() |
A |
41 |
10 |
57 |
replace_email_strings() |
A |
46 |
8 |
39 |
setup_redirect() |
S |
56 |
5 |
18 |
init() |
S |
52 |
4 |
24 |
getNumberOfPluginsText() |
S |
58 |
2 |
17 |
add_wizard_actions() |
S |
69 |
3 |
6 |
getMultiSites() |
S |
66 |
3 |
9 |
__construct() |
S |
61 |
2 |
12 |
is_this_multisite() |
S |
79 |
2 |
3 |
get_instance() |
S |
71 |
2 |
6 |
wp_2fa_get_roles() |
S |
74 |
1 |
5 |